<!DOCTYPE html>
<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html>
<head>
<%@include file="headScript.jsp"%>
<script type="text/javascript" src="${pageContext.request.contextPath}/assets/js/sfc/acm1201script.js"></script>  
</head>
<body>
	<div class="wrapper">
		<!-- BEGIN Top-Bar -->
		<%@ include file="../fragments/header.jsp"%>
		<!-- END Top-Bar -->

		<div id="detail-area" class="clearfix">
			<!-- BEGIN SIDEMENU -->
			<div class="hidden-xs hidden-sm page-sidebar" id="side-menu-bar">
				<ul class="page-sidebar-menu">					
		<li class="info">
			<div class="clearfix">
				<div><strong>ยินดีต้อนรับ</strong></div>
				<div><i class="fa fa-user"></i> Admin </div>
				<div class="mt-10"><strong>คุณเข้าระบบครั้งล่าสุดเมื่อ</strong></div>
				<div class="mb-10"><i class="fa fa-clock-o"></i> 01 / 01 / 2558 08:00:00</div>
			</div>
		</li>
		<li class=""><a href="javascript:void(0)" ><i class="fa fa-briefcase"></i> Agent Management <span class="arrow"></span></a>
			<ul class="sub-menu">
				<li><a href="javascript:void(0)" ><i class="fa fa-folder"></i> GA : General Agent <span class="arrow"></span></a>
					<ul class="sub-menu">
						<li><a href="../content/ACM1101.jsp"><i class="fa fa-coffee"></i> AG </a></li>
						<li><a href="javascript:void(0)"><i class="fa fa-coffee"></i> AL </a></li>
						<li><a href="javascript:void(0)"><i class="fa fa-coffee"></i> AVP </a></li>
						<li><a href="javascript:void(0)"><i class="fa fa-coffee"></i> VP </a></li>
					</ul>
				</li>
				<li class=""><a href="javascript:void(0)" ><i class="fa fa-folder"></i> SFC <span class="arrow"></span></a>
					<ul class="sub-menu">
						<li><a href="javascript:void(0)"><i class="fa fa-coffee"></i> AG : FA </a></li>
						<li><a href="../content/ACM1202.jsp" class="active"><i class="fa fa-coffee"></i> AG : Recruiting Award </a></li>
						<li><a href="javascript:void(0)"><i class="fa fa-coffee"></i> MM </a></li>
					</ul>
				</li>
			</ul>
		</li>
		<li><a href="javascript:void(0)"><i class="fa fa-briefcase"></i> Data Management <span class="arrow"></span></a>
			<ul class="sub-menu">
				<li><a href="javascript:void(0)"><i class="fa fa-folder"></i> SFC <span class="arrow"></span></a>
					<ul class="sub-menu">
						<li><a href="javascript:void(0)"><i class="fa fa-coffee"></i> Agent Structure </a></li>
						<li><a href="javascript:void(0)"><i class="fa fa-coffee"></i> Commission Positive </a></li>
					</ul>
				</li>
			</ul>
		</li>
		<li><a href="javascript:void(0)" ><i class="fa fa-briefcase"></i> Formula Management <span class="arrow"></span></a>
			<ul class="sub-menu">
				<li><a href="javascript:void(0)" ><i class="fa fa-folder"></i> Math Formula <span class="arrow"></span></a>
					<ul class="sub-menu">
						<li><a href="javascript:void(0)" class="active"><i class="fa fa-coffee"></i> ทดสอบข้อมูล DEMO 1</a></li>
						<li><a href="javascript:void(0)"><i class="fa fa-coffee"></i> ทดสอบข้อมูล DEMO 2</a></li>
						<li><a href="javascript:void(0)"><i class="fa fa-coffee"></i> ทดสอบข้อมูล DEMO 3</a></li>
					</ul>
				</li>
			</ul>
		</li>
		<li><a href="javascript:void()"><i class="fa fa-sign-out"></i> ออกจากระบบ </a></li>
				</ul>
			</div>
			
			<!-- End Side Menu -->

			<div class="col-sm-12 col-xs-12" id="right-side">
				<div id="navigator-bar">
					<i class="fa fa-home"></i> หน้าหลัก <i class="fa fa-angle-right ml-5 mr-5"></i> AL 
				</div>
				<!--End navigator-bar-->			

				<!-- Start detail-area -->				
				<div class="form-list clearfix" style="margin-top:-30px; margin-bottom:-75px;">
					<div class="search-box no-radius">
						<!-- header -->
						<div class="form-group clearfix search-header no-radius">
							<div class="pull-left">โชว์การคำการคำนวณ</div>
							<div class="pull-right"><div id="hide-button"><i class="fa fa-chevron-circle-up"></i></div></div>
						</div>
					  	<!-- BOX-BODY -->
					  	<div id="box-body">
				
							<fieldset class="inner" style="padding-top:0px;">
							<legend>1</legend>
							<div class="row form-group form-horizontal">
								<div class="col-xs-12">
									<label class="col-sm-5 text-right">Active AG  +  Active AL </label>
									<div class="col-sm-3">
										<input type="text" id="" name="" class="form-control" disabled="disabled">
									</div>
									<label class="col-sm-2">person(s)</label>
								</div>
							</div>
							<div class="row form-group form-horizontal">
								<div class="col-xs-12">
									<label class="col-sm-5 text-right">Extra OV </label>
									<div class="col-sm-3">
										<input type="text" id="" name="" class="form-control" disabled="disabled">
									</div>
									<label class="col-sm-2">%</label>
								</div>
							</div>
							<div class="row form-group form-horizontal">
								<div class="col-xs-12">
									<label class="col-sm-5 text-right"> OV </label>
									<div class="col-sm-3">
										<input type="text" id="" name="" class="form-control" disabled="disabled">
									</div>
									<label class="col-sm-2">%</label>
								</div>
							</div>
							</fieldset>
							
							<fieldset class="inner" style="padding-top:0px;">
							<legend>2</legend>
							<div class="row form-group form-horizontal">
								<div class="col-xs-12">
									<label class="col-sm-12 text-center">MOV = SUM(FYP - C + 2(nd)RYP-C)  x OV </label>
								</div>
							</div>
							<div class="row form-group form-horizontal">
								<div class="col-xs-12">
									<label class="col-sm-5 text-right"> MOV = </label>
									<div class="col-sm-3">
										<input type="text" id="" name="" class="form-control" disabled="disabled" placeholder="โชว์  total PC">
									</div>
									<label class="col-sm-1">x</label>
									<div class="col-sm-2">
										<input type="text" id="" name="" class="form-control" disabled="disabled" >
									</div>
								</div>
							</div>
							<div class="row form-group form-horizontal">
								<div class="col-xs-12">
									<label class="col-sm-5 text-right"> MOV =  </label>
									<div class="col-sm-3">
										<input type="text" id="" name="" class="form-control" disabled="disabled">
									</div>
								</div>
							</div>
							</fieldset>
							
							
							<fieldset class="inner" style="padding-top:0px;">
							<legend>3</legend>
							<div class="row form-group form-horizontal">
								<label class="col-sm-12 text-center"> In case Policy is Free Look /Cancelled /Void</label>
							</div>
							<div class="row form-group form-horizontal">
								<div class="col-xs-12">
									<label class="col-sm-5 text-right"> Remaining MOV = </label>
									<div class="col-sm-3">
										<input type="text" id="" name="" class="form-control" disabled="disabled" placeholder="โชว์  total PC">
									</div>
									<label class="col-sm-1">x</label>
									<div class="col-sm-2">
										<input type="text" id="" name="" class="form-control" disabled="disabled" >
									</div>
								</div>
							</div>
							
							<div class="row form-group form-horizontal">
								<div class="col-xs-12">
									<label class="col-sm-5 text-right"> Remaining MOV = </label>
									<div class="col-sm-3">
										<input type="text" id="" name="" class="form-control" disabled="disabled" placeholder="โชว์  total PC">
									</div>
								</div>
							</div>
							</fieldset>
							
							
							<fieldset class="inner" style="padding-top:0px;">
							<legend>4</legend>
							<div class="row form-group form-horizontal">
								<div class="col-xs-12">
									<label class="col-sm-5 text-right"> NET MOV = </label>
									<div class="col-sm-3">
										<input type="text" id="" name="" class="form-control" disabled="disabled" placeholder="remaining MOV">
									</div>
									<label class="col-sm-1">-</label>
									<div class="col-sm-2">
										<input type="text" id="" name="" class="form-control" disabled="disabled" >
									</div>
								</div>
							</div>
							<div class="row form-group form-horizontal">
								<div class="col-xs-12">
									<label class="col-sm-5 text-right"> NET MOV =  </label>
									<div class="col-sm-3">
										<input type="text" id="" name="" class="form-control" disabled="disabled">
									</div>
								</div>
							</div>
							</fieldset>
							
		
				  		
							<!-- footer -->
							<div class="form-group mt-20 clearfix search-footer no-radius">
								<div class="col-sm-12 text-center">
						 			<button type="button" class="btn btn-primary" onclick="calFA();"><i class="fa fa-calculator"></i> กลับ </button>
								</div>
					  		</div>					  
					 	<!-- END BOX-BODY -->
					</div>
				</div>

				<div class="form-list clearfix" style="margin-top:-30px; margin-bottom:-75px;">
					<div id="resultDetail">
						
					</div>
				</div>

			<div id="footer-detail">Copyright © สงวนลิขสิทธิ์ พ.ศ.2558 โดยบริษัท ไทยซัมซุง ประกันชีวิต จำกัด (มหาชน)</div>
		</div>
	</div>
</div>
</body>
</html>